<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css"></style>
	
	<!-- <script type="text/javascript" src="./outer.js">
	</script> -->
	<script type="text/javascript">
	var a;
	//1.值？
	console.log(a);//a的值
	//2.数据类型
	console.log(typeof(typeof a));//a的数据类型








		/*alert('inner-----');*/
		/*var a="hello";*///全局变量
		/*console.log(a);
		console.log("b:",b);*/

		/*function say(){
			var a="hello";//局部变量
			b=20;//全局变量
			console.log(a);
			console.log("b:",b);
		}
		say();*/

		/*console.log(a);*/
		/*console.log("b:",b);*/




	</script>	

</head>
<body>
	<h1>hello</h1>

</body>
</html>






